﻿using System;
using DBA.Common;
using System.Collections;
using System.Collections.Generic;

namespace DBA.Model
{
    /// <summary>
    ///功能描述    :    Sys_SystemFunction
    ///开发者      :    
    ///建立时间    :    2012-08-22 13:49:27
    ///修订描述    :    
    ///进度描述    :    
    ///版本号      :    1.0
    ///最后修改时间:    2012-08-22 13:49:27
    /// </summary>
        [OrmPropertyAttribute(TableName = "Sys_SystemFunction",PrimaryKey = "FuncID",PrimaryKeyType = "IDENTITY",ParameterType = "int")]
    public class Sys_SystemFunction
    {
        #region 构造函数
        public Sys_SystemFunction(){}
        
        public Sys_SystemFunction(int FuncID,string FuncName,int ParentFuncID,string BelongSystem,short FuncType,string FuncUrl,string FuncRemark)
        {
           this._FuncID = FuncID;
           this._FuncName = FuncName;
           this._ParentFuncID = ParentFuncID;
           this._BelongSystem = BelongSystem;
           this._FuncType = FuncType;
           this._FuncUrl = FuncUrl;
           this._FuncRemark = FuncRemark;

        }
        #endregion
        
        #region 成员
        private int _FuncID;
        private string _FuncName;
        private int _ParentFuncID;
        private string _BelongSystem;
        private short _FuncType;
        private string _FuncUrl;
        private string _FuncRemark;
        #endregion
        
        #region 属性
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "int",ParameterLength = 4,IsNull = "0")]
        public virtual int FuncID
        {
            get { return _FuncID; }
            set { _FuncID = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "nvarchar",ParameterLength = 100,IsNull = "1")]
        public virtual string FuncName
        {
            get { return _FuncName; }
            set { _FuncName = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "int",ParameterLength = 4,IsNull = "1")]
        public virtual int ParentFuncID
        {
            get { return _ParentFuncID; }
            set { _ParentFuncID = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "nvarchar",ParameterLength = 100,IsNull = "1")]
        public virtual string BelongSystem
        {
            get { return _BelongSystem; }
            set { _BelongSystem = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "smallint",ParameterLength = 2,IsNull = "1")]
        public virtual short FuncType
        {
            get { return _FuncType; }
            set { _FuncType = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "varchar",ParameterLength = 500,IsNull = "1")]
        public virtual string FuncUrl
        {
            get { return _FuncUrl; }
            set { _FuncUrl = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "ntext",ParameterLength = 2147483646,IsNull = "1")]
        public virtual string FuncRemark
        {
            get { return _FuncRemark; }
            set { _FuncRemark = value; }
        }
        #endregion
    }
}